{template header}
<link rel="stylesheet" href="static/calendar/js/calendar.css" />
<script type="text/javascript" charset="utf-8" src="static/calendar/calendar.php"></script>
<h4 style="padding-left:10px;;">搜索 <i class="icon-search"></i></h4>
<form class="form-horizontal clearfix form-inline" method="post" action="">
    <div class="control-group search-group">
        <label class="control-label" >时间：</label>
        <div class="controls">
            <input type="text" name="endTimeStr" id="date_time_id2" value="{$search['endTimeStr']}">　
            <button name="date_time_btn2" type="button" id="date_time_btn2" onclick="return showCalendar('date_time_id2', '%Y-%m-%d %H:%M:%S', '24', false, 'date_time_btn2');" class="button" id="date_time_id2"/>选择</button>
        </div>
    </div>
    <div class="control-group search-group">
        <div class="controls">
            <button class="btn" type="submit">提交</button>　
            <button class="btn" type="reset">重置</button>
        </div>
    </div>
</form>
<div class="bs-docs-example pt-20" style="clear:both;">
    <table class="table table-striped">
        <thead>
            <tr>
                <th>群组id</th>
                {loop $titles $title}
                <th>{$title}</th>
                {/loop}
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {loop $todayReport $gid $values}
            <tr>
                <td>{$gid}</td>
                {loop $values $tag $v}
                {if $tag == 'name' || $tag=='city'}
                <td>{$v}</td>
                {else}
                <td>今日：{$v['value']}，趋势：{$v['thread']}</td>
                {/if}
                {/loop}
                <td><a target="_blank" href="?c=admin&a=concernGroupReportDetail&gid={$gid}">详情</a></td>
            </tr>
            {/loop}
        </tbody>
    </table>
</div>
{template footer}